package com.example.petback.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("item")
public class ItemModel {
    @TableId(value = "itemid",type = IdType.INPUT)
    private String itemid;
    private BigDecimal listprice;
    private BigDecimal unicost;
    private Integer status;
    private Integer inventory;
    private String attr;
    private String picture;
    private String category;
}
